﻿// -----------------------------------------------------------------------
// <copyright file=PhieuKhamBenhChiTietBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class PhieuKhamBenhChiTietBusiness
    {
        PhieuKhamBenhChiTietDataAccess objDa = null;

        public PhieuKhamBenhChiTietBusiness()
        {
            objDa = new PhieuKhamBenhChiTietDataAccess();
        }

        public bool InsertPhieuKhamBenhChiTiet(PhieuKhamBenhChiTietEntity obj)
        {
            return objDa.InsertPhieuKhamBenhChiTiet(obj);
        }

        public bool EditPhieuKhamBenhChiTiet(PhieuKhamBenhChiTietEntity obj)
        {
            return objDa.EditPhieuKhamBenhChiTiet(obj);
        }

        public bool DeletePhieuKhamBenhChiTietByMaKhamBenh(string maKhamBenh)
        {
            return objDa.DeletePhieuKhamBenhChiTietByMaKhamBenh(maKhamBenh);
        }

        public PhieuKhamBenhChiTietEntity GetPhieuKhamBenhChiTiet(string maKhamBenh, string maChiTieu)
        {
            return objDa.GetPhieuKhamBenhChiTiet(maKhamBenh, maChiTieu);
        }

        public IList<PhieuKhamBenhChiTietEntity> GetPhieuKhamBenhChiTietList()
        {
            return objDa.GetPhieuKhamBenhChiTietList();
        }

    }
}